﻿using UnityEngine;

namespace MyDllLibrary
{
    public class MonoDll:MonoBehaviour
    {
        private void Start()
        {
            print("Start");
        }

        void Update()
        {
            print("Update");
        }

        private void Pri_SayHello()
        {
            Debug.Log("private fun:sayHello");
        }
        /// <summary>
        /// protected
        /// </summary>
        protected void Pro_SayHello()
        {
            Debug.Log("protected fun:sayHello");
        }

        /// <summary>
        /// mono fun
        /// </summary>
        public void PrintInfo()
        {
            print("Hello");
        }

        /// <summary>
        /// mono add
        /// </summary>
        /// <param name="a"></param>
        /// <param name="b"></param>
        public int Add(int a, int b)
        {
            return a + b;
        }
    }
}
